read the document proceed create the new file complete the update